package chess;

/**
 * @author anyman
 *
 */
public class Pawn {	
	
	   private String color;
	   private String kind;

	   public static final String WHITE = "white";
	   public static final String BLACK = "black";
	   
	   public Pawn(String color) {
	      this.color = color;
	   }   

	   public String getColor() {
	      return color;
	   }
	   
	   public Pawn() {
	       this("white");
	   } 
	   
	   public String getColorShortenWord() {
		   
		     if(color == "black")
		   	  kind = "P";
		     else
		   	  kind = "p";
		     
		     return kind;	
	   }	   
}
